import java.awt.image.BufferedImage;

import chess.ChessState;
import chess.pieces.Pawn;
import devgui.DevGUI;

public class UltimateChess {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ChessState b = new ChessState(10, 10);
		DevGUI v = new DevGUI(b);
		b.notifyOb();

		// init units
		int[] pos = { 1, 1 };
		
		// create dummy picture for pawn
		BufferedImage img = new BufferedImage(32, 32,
				BufferedImage.TYPE_4BYTE_ABGR);
		for (int x = 0; x < 32; x++) {
			for (int y = 0; y < 32; y++) {
				img.setRGB(x, y, 120);
			}
		}
		Pawn p = new Pawn(b, pos);
		b.addPiece(p, b.SIDE_WHITE);
	}

}